import request from '@/utils/request'
// 绑定支付宝
export function apLiBDUpdate(data) {
  return request({
    url: '/Muser/apLiBDUpdate',
    method: 'post',
    data: data
  })
}

// 解绑支付宝
export function apLiUpdate(data) {
  return request({
    url: '/Muser/apLiUpdate',
    method: 'post',
    data: data
  })
}

// 充值能量
export function energyADD(data) {
  return request({
    url: '/Muser/energyADD',
    method: 'post',
    data: data
  })
}

// 扣除能量
export function energySub(data) {
  return request({
    url: '/Muser/energySub',
    method: 'post',
    data: data
  })
}

// 用户列表
export function listPage(query) {
  return request({
    url: '/Muser/listPage',
    method: 'get',
    params: query
  })
}

// 充值积分
export function pointsADD(data) {
  return request({
    url: '/Muser/pointsADD',
    method: 'post',
    data: data
  })
}

// 扣除积分
export function pointsSub(data) {
  return request({
    url: '/Muser/pointsSub',
    method: 'post',
    data: data
  })
}

// 更改靓号
export function updateIdnumber(data) {
  return request({
    url: '/Muser/updateIdnumber',
    method: 'post',
    data: data
  })
}

// 靓号新增
export function fancyNumberADD(data) {
  return request({
    url: '/MFancyNumber/fancyNumberADD',
    method: 'post',
    data: data
  })
}

// 靓号修改
export function fancyNumberUpdate(data) {
  return request({
    url: '/MFancyNumber/fancyNumberUpdate',
    method: 'post',
    data: data
  })
}

// 靓号列表
export function MFancyNumberPage(query) {
  return request({
    url: '/MFancyNumber/list',
    method: 'get',
    params: query
  })
}

// 靓号删除
export function MFancyNumberRemove(query) {
  return request({
    url: '/MFancyNumber/remove',
    method: 'get',
    params: query
  })
}


// 虚拟号段新增
export function phoneAdd(data) {
  return request({
    url: '/MPhonePrefix/phoneAdd',
    method: 'post',
    data: data
  })
}

// 虚拟号段修改
export function phoneUpdate(data) {
  return request({
    url: '/MPhonePrefix/phoneUpdate',
    method: 'post',
    data: data
  })
}

// 虚拟号段列表
export function MPhonePrefixPage(query) {
  return request({
    url: '/MPhonePrefix/List',
    method: 'get',
    params: query
  })
}

// 虚拟号段删除
export function MPhonePrefixRemove(query) {
  return request({
    url: '/MPhonePrefix/remove',
    method: 'get',
    params: query
  })
}

// 虚拟号段更新状态
export function phoneStaUpdate(data) {
  return request({
    url: '/MPhonePrefix/phoneStaUpdate',
    method: 'post',
    data: data
  })
}

// 规则列表
export function mRulList(query) {
  return request({
    url: '/mruConfig/mRulList',
    method: 'get',
    params: query
  })
}

// 规则查询
export function mRulListSee(query) {
  return request({
    url: '/mruConfig/mRulListSee',
    method: 'get',
    params: query
  })
}

// 规则新增
export function mRulADD(data) {
  return request({
    url: '/mruConfig/mRulADD',
    method: 'post',
    data: data
  })
}

// 规则更改
export function mRulUpdate(data) {
  return request({
    url: '/mruConfig/mRulUpdate',
    method: 'post',
    data: data
  })
}

// 规则删除
export function mRulremove(query) {
  return request({
    url: '/mruConfig/remove',
    method: 'get',
    params: query
  })
}

// 查询QQ群
export function getMainQQ() {
  return request({
    url: '/MqqDetail/getMainQQ',
    method: 'get'
  })
}

// 修改QQ群
export function updateMainQQ(data) {
  return request({
    url: '/MqqDetail/updateMainQQ',
    method: 'post',
    data: data
  })
}

// 用户流水
export function amountInfo(query) {
  return request({
    url: '/mFlowing/amountInfo',
    method: 'get',
    params: query
  })
}


// 启用或者停用账号
export function userStatus(data) {
  return request({
    url: '/Muser/userStatus',
    method: 'post',
    data: data
  })
}

// 启用或者停用账号
export function issueCards(data) {
  return request({
    url: '/Muser/issueCards',
    method: 'post',
    data: data
  })
}

export function userZbStatus(data) {
  return request({
    url: '/Muser/userZbStatus',
    method: 'post',
    data: data
  })
}


// 更换上级
export function changeSuperior(data) {
  return request({
    url: '/Muser/changeSuperior',
    method: 'post',
    data: data
  })
}


// 获取VIP卡列表
export function issueCardList(query) {
  return request({
    url: '/Muser/issueCardList',
    method: 'get'
  })
}

// 转赠记录
export function giftingInfoPage(query) {
  return request({
    url: '/mGiftTransfer/giftingInfoPage',
    method: 'get',
    params: query
  })
}

// 合成材料查询列表
export function SyntheticMaterialist() {
  return request({
    url: '/MlotteryDraw/SyntheticMaterialist',
    method: 'get'
  })
}

// 抽奖配置查询
export function lotteryDrawList() {
  return request({
    url: '/MlotteryDraw/lotteryDrawList',
    method: 'get'
  })
}

// 抽奖配置保存
export function lotteryDrawSave(data) {
  return request({
    url: '/MlotteryDraw/lotteryDrawSave',
    method: 'post',
    data: data
  })
}

// 抽奖配置更改查询
export function lotteryDrawSee(query) {
  return request({
    url: '/MlotteryDraw/lotteryDrawSee',
    method: 'get',
    params: query
  })
}

// 抽奖配置更改
export function lotteryDrawUpdate(data) {
  return request({
    url: '/MlotteryDraw/lotteryDrawUpdate',
    method: 'post',
    data: data
  })
}

// 抽奖配置删除
export function remove(query) {
  return request({
    url: '/MlotteryDraw/remove',
    method: 'get',
    params: query
  })
}

// 设置用户等级
export function uselevel(data) {
  return request({
    url: '/Muser/uselevel',
    method: 'post',
    data: data
  })
}



















